DC to DC converter method and circuitry

ABSTRACT

A DC-to-DC converter has a pulse width modulator PWM) and a hysteretic (ripple) modulator. For low current loads, the hysteretic modulator is selected; for high current loads, the PWM is selected. A mode selection switch senses the polarity of the switched output voltage at the end of each switching cycle. If the polarity changes from one cycle to the next, the mode may be instantly changed to the other mode. Counters are used to record the polarity at the end of each cycle and switching from one mode to another can be delayed by the counters to prevent changing modes based on spurious output voltage fluctuations.

CROSS-REFERNCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional PatentApplication Ser. No. 60/201,829, filed May 3, 2000 (Attorney Docket No.:87552.086500/SE-1602IP).

BACKGROUND

[0002] Power supplies for computers, personal digital assistants,cellular phones and other hand held mobile electronic devices andsystems have exacting demands. Two types of converters are used to meetthese demands. One type is a pulse width modulated (PWM) converter andthe other is a hysteretic (ripple) converter. A typical single modeDC-to-DC converter 8 with either a PWM or hysteretic controller is shownin FIG. 1 a. The converter 8 has a PWM controller 12 or a hystereticcontroller 14. The output of the controller drives the gates of outputswitches, typically upper and lower mosfet power transistors 16, 18. Themosfets are connected together at a switching node 20. At high outputcurrent levels, the PWM controller with a synchronous rectifier providesefficient and controllable output regulation. For low output currents,the efficiency of the DC-to-DC converter operating in a fixed frequencyPWM mode gets lower because PWM switching losses become dominant. Onethe other hand, the hysteretic converter is efficient for low outputcurrents but is not efficient for high output currents.

[0003] Demands on a system can change from tens of amps to milliamps inas short a time as a few microseconds. In order to address the variableand frequently inconsistent current requirements, many DC-to-DCconverters, especially those used in mobile systems, include both apulse width modulation (PWM) converter and a hysteretic converter. Suchdual mode controllers provide a high efficiency over a wide range ofload current levels.

[0004] A typical dual mode converter 10 is shown in FIG. 1b. Theconverter 10 has a PWM controller 12 and a hysteretic controller 14. Theoutput of the controller drives the gates of upper and lower mosfetpower transistors 16, 18. The mosfets are connected together at aswitching node 20. The switching node 20 is connected to an inductor 22that is connected to a parallel network comprising an output capacitor23 and a load as represented by resistor 24. A sense resistor 26 isconnected in series with the inductor 22. The voltage across the senseresistor is coupled to the controller 10 to provide data on the loadcurrent. A comparator 13 in the controller receives the voltage signalfrom the sense resistor 26, compares it to a reference value indicativeof a critical current, and operates a switch to switch the controllerbetween the PWM modulator 12 and the hysteretic controller 14 when thesensed current falls below the threshold value of the reference input tothe comparator.

[0005] At high output current levels, the PWM controller with asynchronous rectifier provides efficient and controllable outputregulation. As the load current gets lower, the efficiency of theDC-to-DC converter operating in a fixed frequency PWM mode gets lowerbecause PWM switching losses become dominant. A simple hysteretic(ripple) controller improves the converter efficiency for light loads.The integrated circuit senses the load current and, when load currentfalls below a minimum threshold, it invokes the hysteretic (ripple)controller and disables the PWM controller. When the load currentincreases above the minimum threshold, the PWM controller resumescontrol. In this way high efficiency is maintained over a wide range ofload currents.

[0006] The optimal transition point for the threshold current usuallylies at the current level where the inductor current becomes “critical.”Critical current is a value of load current for which the total energystored in the inductor 22 is delivered to the load each cycle. At loadcurrents below the critical value, the inductor current must go throughzero and reverse direction at some point in the cycle. When the inductorcurrent changes direction, energy is taken from the output filtercapacitor 23 due to the bidirectional conductivity of the synchronousrectifier, lower fet 18. To maintain the output in regulation moreenergy will be delivered to the filter capacitor 23 at the nextoperating cycle. Unless the controller is switched to the hystereticcontroller 14, the converter efficiency dramatically degrades. Power andenergy are wasted. In mobile systems that rely on battery power, theoverall life of the system is likewise reduced.

[0007] To prevent the energy losses when operating at sub-criticalcurrents, diode-like conduction is required of the lower mosfet 18. Thisassures discontinuous inductor current operation. Operating theconverter 10 in the discontinuous conduction mode under fixed PWM modecontrol creates its own challenges because the small-signal loop becomesbroken, closed-loop gain increases and the converter easily becomesunstable. This leads to the conclusion that hysteretic mode is preferredfor safe, stable and efficient operation at sub-critical current.

[0008] In order to select the PWM or the hysteretic mode of operation,the controller 10 senses the load current or any current in the circuitproportional to the load current and compares the sensed load current toa reference. If the load current is higher than the reference, the PWMmode of operation is activated. Otherwise, the converter 10 operates inthe hysteretic mode. This widely used approach depends on the toleranceof the currently sensing circuitry. As the output voltages of DC-to-DCconverters for modem computer applications are getting lower and theoutput currents are getting higher and vary widely over short periods oftime, it is becoming very difficult to measure the current precisely andefficiently. This leads to increased uncertainty of the switch overpoint and, therefore, to unpredictable operation of the whole converter.

SUMMARY

[0009] The invention is a new DC-to-DC converter circuit and a methodfor DC to DC conversion. The circuit includes a pulse width modulatorcontroller and a hysteretic controller. Both controllers convert aninput first voltage into an output second voltage during a series ofrepeated switching cycles. The circuit has a mode selection circuit forselecting one of the two controllers in accordance with the currentdemand of a load coupled through an inductor to the second voltage. Themode selection switch has a comparator for comparing the second voltageto a reference voltage (ground) for sensing the polarity of the secondvoltage at the end of each switching cycle. The polarity of the outputvoltage at the end of the switching cycle is a measure of the state ofthe inductor. If the inductor is in continuous operation and the loadcurrent is above the critical current, then the polarity of the switchnode will be positive. If the inductor is in discontinuous operation,then the polarity of the switch node will be negative.

[0010] One or more counters are coupled to the comparator and to themode selection switch. The counters record the polarity of the secondvoltage at the end of each switching cycle and keep that data for agiven number of cycles. If the polarity of the switch node does notchange, then the controller remains in whichever mode (PWM orhysteretic) that it has been operating in. By using counters, theinvention avoids premature switching for a single change in polarity.Such changes may occur for spurious reasons that are not related toenduring load conditions. As such, the counters maintain the modeselection switch in its current mode so long as the polarity of thesecond voltage at the end of each cycle does not change. However, whenthe polarity changes and the changes endure for more than n switchingcycles, then the counters operate the mode selection switch to changethe mode of operation to the other mode. If the converter was operatingin the PWM mode, then it is switched to the hysteretic mode and viceversa.

[0011] The DC-to-DC converter circuit operates to switch the modeselection switch to the hysteretic mode controller when the polarity ofthe second voltage for n number of cycles is positive and to switch themode selection switch to the pulse width modulator controller when thepolarity of the second voltage for n number of cycles is negative. Thereare separate counters for counting the positive and negative cycles. Thenumber n may be the same or different for both counters.

DESCRIPTION OF THE DRAWING

[0012]FIG. 1a is a schematic of a single mode DC-to-DC converter.

[0013]FIG. 1b is a schematic of a dual mod DC-to-DC converter.

[0014]FIGS. 2a-2 c are graphs of the converter performance duringcontinuous conduction.

[0015]FIGS. 2d-2 f are graphs of the converter performance duringdiscontinuous conduction.

[0016]FIGS. 3a-3 d are graphs of the invention operation during PWM andhysteretic operations.

[0017]FIG. 4 is a schematic of a mode-controlled DC-to-DC controller.

[0018]FIG. 5 is a detailed schematic of a mode-controlled DC-to-DCcontroller that includes the invention.

DETAILED DESCRIPTION OF THE INVENTION

[0019] The new method and circuit to control the operation mode of a DCto DC converter are based on detection of the difference in the voltagewaveform on the switching node of the converter. The polarity of theswitch node voltage at the end of a switch cycle depends upon whetherthe filter inductor current is continuous (and therefore above thecritical current) or discontinuous (and below the critical current).FIGS. 2a-2 c show conditions where there is continuous inductor current.The switching cycle ends with a negative voltage on the switching node.FIGS. 2d-2 f show conditions where the inductor current is discontinuousand the voltage at the end of the switching cycle is a positive voltage.In a simple buck converter, with only a diode for low-side currentconduction, the switching node voltage at the end of the cycle will ringto a relatively large voltage greater than the output voltage of theregulator. In a synchronous rectifier buck converter, the currentreversal forces the switching node to a small positive voltagedetermined by the resistance of the synchronous switch.

[0020] Turning to FIG. 4, the dual mode converter 100 of the inventionhas a mode control switch 50 that monitors the polarity of the voltageat the switching node 20 between the upper and lower mosfets 16, 18. Thepolarity of the output voltage could be monitored at a number of otherlocations. For example, one skilled in the art could insert a small (afew milliohms) resistor in series between the lower mosfet 18 andground. FIG. 3, top, shows the DC output voltage, during a PWM mode anda subsequent hysteretic mode. When the converter operates in PWM modeand load current decreases, the inductor current I_(IND) gradually fallsand the polarity signal (phase comparator) has wider pulses. A counterin the mode switch 50 counts the number of pulses of the new polarityand after n pulses (in this case n=8) in a row, the mode switches fromPWM to hysteretic. A corresponding switch from hysteretic to PWM is madewhen the inductor current I_(IND) increases and the polarity shiftsagain. An embodiment of the counters and logic circuitry are shown inFIG. 5 and discussed below.

[0021] The invention uses a finite storage interval of n switchingcycles. If the sign of the switching node voltage at the end of each ofn cycles remains unchanged, its sign is used to determine the subsequentmode of operation. A positive voltage on the switching node correspondswith the hysteretic operating mode; a negative voltage corresponds tothe pulse width modulation mode. If at least once during these nswitching cycles, the sign of the switching node changes, the counter isreset and the operating mode of the converter remains unchanged. Themonitoring process constantly repeats itself while the converter isoperating.

[0022]FIG. 5 shows a detailed schematic of a possible embodiment of themode control switch with counters for and polarity sensors fordistinguishing continuous from discontinuous currents in the inductor.The mode switch 50 includes a comparator 52 that compares the switchingnode to ground. The output of comparator 52 is clocked to the input ofD-flip-flop 54 by the PWM signal. Two counters 56, 57 count to eightcycles, one counting positive switch node voltage, the other, negative.The counters 56, 57 are reset when the clocked switch node polarity (Qoutput of 54) changes. In the preferred embodiment each counter uses acount of eight to invoke the appropriate operating mode. However, thenumber of counts is arbitrary. The mode switch circuit 50 also providesa means to override the HYSTERETIC-to-PWM delay or counter in order topermit fast response to load current transients. The embodiment of thismeans in the mode switch control 50 uses a comparator 58 for monitoringthe output feedback voltage and causing an immediate resetting of theMODE latch out of the HYSTERETIC mode when the feedback voltage is belowthe reference by an amount set to be greater than the normal ripplevoltage expected. In other words, the delay of eight cycles in goingfrom HYSTERETIC to PWM mode can be entirely eliminated via this means. APWM reset comparator 58 compares the output voltage on the load VFB to areference voltage. If VFB is greater than the reference, the circuit 50immediately switches to the PWM mode. The reference is set to detectlarge output voltages. If the triggering voltage is spurious, thecircuit 50 will reset to the HYSTERETIC mode after n cycles.

[0023] In operation, the invention provides a method to control theoperation of a DC-to-DC converter 10 based on monitoring the waveform onthe junction node 20 of the mosfets 16, 18 and the filter inductor. Themode switch controls the operation mode of a DC-to-DC converter based onmonitoring the polarity of the voltage waveform on the junction node 20of the mosfet switches 16,18 and the filter inductor 22. The voltage onthis switching node 20 at the end of a switching cycle is detected and asignal indicating the sign of this voltage is stored for a finiteinterval of time, which is longer than one switching cycle anddetermined by practical considerations. If during this interval of time,there are several switching cycles all of the same sign of voltage atthe switching node at the end of the switching cycle, a decision is madethat the operating mode will be in correspondence with the stored signof the voltage on the switching node. Positive voltage corresponds witha hysteretic operating mode. The negative sign corresponds with the PWMoperating mode. If at least once during the measuring time interval, thesign of the switching node changes, the operating mode of the converterremains unchanged. The monitoring process constantly repeats itselfwhile the converter is operating.

[0024] Having thus described the preferred embodiment of the invention,those skilled in the art will understand that further changes,additions, deletions and modifications may be made to this embodimentwithout departing from the spirit and scope of the invention as setforth in the appended claims.

What we claim is:
 1. A DC-to-DC converter circuit comprising: a pulsewidth modulator controller and a hysteretic controller, each controllerfor converting a first voltage into a second voltage during a series ofrepeated switching cycles; a mode selection circuit for selecting one ofthe two controllers in accordance with the current demand of a loadcoupled to the second voltage; a comparator for comparing the secondvoltage to a reference voltage and generating a polarity signalrepresentative of the second voltage at the end of each switching cycle;and one or more counters coupled to the comparator and to the modeselection switch for recording the polarity of the second voltage at theend of each switching cycle, for maintaining the mode selection switchin its current mode so long as the polarity of the second voltage at theend of the each cycle is the same as the last n number of cycles and foroperating the mode selection switch to select the other controller whenthe polarity of the second voltage at the end of the cycle changes fromthe prior cycle and the change in polarity persists for n number ofcycles.
 2. The DC-to-DC converter circuit of claim 1 wherein thecounters operate to switch the mode selection switch to the hystereticmode controller when the polarity of the second voltage for n number ofcycles is positive.
 3. The DC-to-DC converter circuit of claim 1 whereinthe counters operate to switch the mode selection switch to the pulsewidth modulator controller when the polarity of the second voltage for nnumber of cycles is negative.
 4. A DC-to-DC converter comprising: meansfor pulse width modulating and ripple modulating a first voltage toconvert the first voltage into a second voltage during a series ofrepeated switching cycles; means for selecting one of the two modulatingmeans in accordance with the current demand of a load coupled to thesecond voltage; means for sensing the polarity of the second voltage atthe end of the switching cycles; and means for switching from onemodulating means to the other modulating means when the polarity of thesecond voltage changes at the end of the switching cycle.
 5. Theconverter of claim 4 wherein the means for sensing the polarity of thesecond voltage comprises means or comparing the second voltage to apolarity reference voltage; means for generating a polarity signalrepresentative of the polarity second voltage at the end of eachswitching cycle; means for recording the polarity of the second voltageat the end of each switching cycle for n number of cycles; means formaintaining the current modulating means so long as the polarity of thesecond voltage at the end of the each cycle is the same as the last nnumber of cycles; and means for selecting the other modulation meanswhen the polarity of the second voltage at the end of the cycle changesfrom the prior cycle and the change in polarity persists for n number ofcycles.
 6. The converter of claim 4 wherein the means for selectingselects the ripple modulation means when the polarity of the secondvoltage for n number of cycles is positive.
 7. The converter of claim 4wherein the means for selecting selects the pulse width modulation meanswhen the polarity of the second voltage for n number of cycles isnegative.
 8. A method for converting one DC voltage into another DCvoltage comprising: pulse width modulator mode and a hystereticmodulator mode for generating a second voltage during a series ofrepeated switching cycles; selecting one of the two modes in accordancewith the current demand of a load coupled to the second voltage; sensingthe polarity of the second voltage at the end of the switching cycles;and maintaining the current mode so long as the polarity of the secondvoltage at the end of the each cycle is the same as the last n number ofcycles; and selecting the other mode when the polarity of the secondvoltage at the end of the cycle changes from the prior cycle and thechange in polarity persists for n number of cycles.
 9. The method ofclaim 10 wherein the step of sensing the polarity of the second voltagecomprises: comparing the second voltage to a polarity reference voltage;generating a polarity signal representative of the polarity secondvoltage at the end of each switching cycle; and recording the polarityof the second voltage at the end of each switching cycle.
 10. The methodof claim 8 wherein the hysteretic mode is selected when the polarity ofthe second voltage for n number of cycles is positive.
 11. The method ofclaim 8 wherein the pulse width modulation mode is selected when thepolarity of the second voltage for n number of cycles is negative.